home *** CD-ROM | disk | FTP | other *** search
-
- > When I compile a program which has icons in memory, it works fine when
- > compiling it to Amos window, but when I compile it working in cli and
- > then try to run this program from cli a guru will appear.
- > Has anyone else found this same problem??
-
- Yes, it is a known bug in the compiler.
-
- > And is there any way to solve this problem?
-
- Simplest is to save the icon bank to disk as a seperate file, and load it
- at the start of your program. More complex is to change the icon bank to a
- sprite bank compile it, then insert instructions to change it back to an
- icon bank before use!
-
- To change the banks, you have to rename them (Use easylife Els Bank Name
- command, or poke the 8 character new name padded with spaces into address
- Start(BK)-8. Also, there is two 2 bits in the bank header that need changing,
- but I can't remember their address. Look at the bank header definitions in the
- appendix of the AMOSPro manual.
-
-
-
- +-------------------------+------------------------------------+
- | | _____ |
- | PAUL HICKMAN | / \ ON A HOT SUMMER NIGHT |
- | (ph@doc.ic.ac.uk) | / O O \ WOULD YOU OFFER YOUR |
- | DEPARTMENT OF COMPUTING | | _ | THROAT TO THE WOLF |
- | IMPERIAL COLLEGE LONDON | \ / \ / WITH THE RED ROSES ? |
- | | \_____/ |
- +-------------------------+------------------------------------+
- Machines: Amiga 500 WB1.3 - 1mb Memory - External Disk Drive.
- Amiga 1200 WB3.0 - 6mb Memory - 200Mb Hard Disk.
-
-
-